﻿using System;

namespace csharp_xna_form_movie_player
{
#if WINDOWS || XBOX
    static class Program
    {
        public static Game1 game;
        
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main(string[] args)
        {
            Form1 form = new Form1();
            form.Show();

            using (Game1 game = new Game1(form.getDrawSurface()))
            {
                game.Run();
            }
        }
    }
#endif
}

